package com.platform.qujia.dao;

import java.util.List;

import com.platform.qujia.pojo.ReductionActivityLog;

/**
 * asMapper接口
 * 
 * @author qujia
 * @date 2021-11-22
 */
public interface ReductionActivityLogMapper 
{
    /**
     * 查询as
     * 
     * @param reductionActivityLogId asID
     * @return as
     */
    public ReductionActivityLog selectReductionActivityLogById(Long reductionActivityLogId);

    /**
     * 查询as列表
     * 
     * @param reductionActivityLog as
     * @return as集合
     */
    public List<ReductionActivityLog> selectReductionActivityLogList(ReductionActivityLog reductionActivityLog);

    /**
     * 新增as
     * 
     * @param reductionActivityLog as
     * @return 结果
     */
    public int insertReductionActivityLog(ReductionActivityLog reductionActivityLog);

    /**
     * 修改as
     * 
     * @param reductionActivityLog as
     * @return 结果
     */
    public int updateReductionActivityLog(ReductionActivityLog reductionActivityLog);

    /**
     * 删除as
     * 
     * @param reductionActivityLogId asID
     * @return 结果
     */
    public int deleteReductionActivityLogById(Long reductionActivityLogId);

    /**
     * 通过orderId删除
     *
     * @param orderId asID
     * @return 结果
     */
    public int deleteReductionActivityLogByOrderId(Long orderId);

    /**
     * 批量删除as
     * 
     * @param reductionActivityLogIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteReductionActivityLogByIds(Long[] reductionActivityLogIds);
}
